package com.youdianda.vo;

import com.youdianda.entity.YddArticle;
import com.youdianda.entity.YddUser;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 主页统计信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class BaseInfoVO {
    // 所有分类
    private List<YddCateVO> all_cate;
    // 标签总数
    private Integer tag_num;
    //广告位总数
    private Integer advpos_num;
    //管理员总数
    private Integer admin_num;
    //文章总数
    private Integer article_num;
    //分类总数
    private Integer cate_num;
    //广告图总数
    private Integer advimg_num;
    // 最新用户数据
    private List<YddUser> new_user;
    // 热门文章数据
    private List<YddArticle> hot_article;
    // 用户数据
    private YddUserNumberStatistics user;
}
